package com.example.daibanshiwu.mapper;

import com.example.daibanshiwu.pojo.Log;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LogMapper {
    /*插入测试*/
    int insert(Log log);
    /*查询所有*/
    List<Log> selectLog();
    /*根据用户ID查询*/
    List<Log> findLogsByUserId(Long logid);

}
